package com.cc.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.FilterType;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

/**
 * @author 33314
 * @version 1.0
 * @description: TODO
 * @date 2025/9/2 11:05
 */
@Configuration
@EnableWebMvc
@ComponentScan(
        basePackages = "com.cc",
        excludeFilters = {
                @ComponentScan.Filter(type = FilterType.ANNOTATION,classes = Controller.class),
                @ComponentScan.Filter(type = FilterType.ANNOTATION,classes = RestController.class)
        }
)
public class SpringMVCConfig {
}
